import request from '@/utils/request'

const baseURL = '/reportValue'

// 上报月数据
export function reportMonthlyData (reportContentId, numericalValue) {
  return request({
    url: `${baseURL}/reportMonthlyData`,
    method: 'post',
    data: {
      reportContentId,
      numericalValue,
    },
  })
}

// 上报年数据
export function reportAnnualData (reportContentId, numericalValue) {
  return request({
    url: `${baseURL}/reportMonthlyData`,
    method: 'post',
    data: {
      reportContentId,
      numericalValue,
    },
  })
}
